import { API_LIST } from '../../../Api/Api'

export const BeamProduceRecordPersonGroup = async ({ twoData }) => {
    let dataList = {
        uuid: twoData.uuid,
        width: 800,
        isCheckbox: false,
        pageSize: 10,
        params: { pageIndex: 1 },
        get: API_LIST()['getPersonGroup'],
        pos: 'posBeamProduceRecordPersonGroup',
        assemblyData: ([{ uuid }]) => ({ beamProduceRecordUuid: twoData.uuid, personGroupUuid: uuid }),
        columns: [{ title: '分组名称', dataIndex: 'tableName' }],
    }

    return dataList
}
